package com.jky.trial.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jky.trial.common.QueryParam;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class Task extends QueryParam implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer id;
    private String name;
    private Integer jzId;
    private Integer comId;
    private String desc;
    private String no;
    private Integer creatorId;  //任务创建
    private Integer order;      //
    private Integer status;
    private String type;
    private Boolean deleted;
    private Integer projectId;
    private Integer assigneeId;
    private Integer sender;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date assignAt;
    private String  spacing;
    private BigDecimal height;//标高
    private BigDecimal depth;
    private String testLonLat;
    private String relativeXY;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createAt;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateAt;
    private String lonLat;
}